package com.wcity.manage.dao.model;

import com.wcity.manage.dao.dal.model.AbstractModel;

import java.util.Date;

/**
 * Created by jn on 2016/12/10.
 * 验证码实体类
 */
public class Verify extends AbstractModel {

    private static final long serialVersionUID = 2768823648735717439L;

    private int id;
    private int type;                       // 类型 1注册 2重置密码 3更改绑定手机号
    private String code;                    // 验证码
    private String phone;                   // 手机号
    private int status;                     // 状态 1有效 2失效
    private Date createTime;                // 创建时间

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
